<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-show 指令</title>
</head>
<body>
<div id="app">
  <div v-show="isShow">正常显示内容</div>
  <div v-show="!isShow">不显示内容</div>
</div>
<script type="module">
  import {createApp, ref} from "../../../../../js/vue.esm-browser.js";

  const app = createApp({
    setup(){
      let isShow= ref(true)

      return {
        isShow
      }
    }
  })
  app.mount("#app")
</script>
</body>
</html>